<include file="Admin@Public/header" /> 

    
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
  <input type="hidden" id="web-url" value="__URL__"/>
    <ol class="breadcrumb">
      <li>网站内容</li>
      <li>栏目管理</li>
      <li class="active">列表</li>
      <li class="pull-right"><a  href="__URL__/add"><i class="icon-plus"></i> 添加</a></li>
    </ol>
  <div class="table-responsive">
         <table class="table">
              <thead>
                <tr>
                  <th class="col-md-1">排序</th>
                  <th class="col-md-1">#</th>
                  <th class="col-md-1">ID</th>
                  <th class="col-md-3">栏目</th>
                  <th class="col-md-2">URL</th>
                  <th class="col-md-1">列表模版</th>
                  <th class="col-md-1">单页模版</th>
                  <th class="col-md-2">操作</th>
                </tr>
              </thead>
            <tbody>
        <volist name="list" id="vo" key="num">
              <tr>
                <td><input type="hidden" name="ids[]" value="{$vo.id}">
                   <input type="text" size="3" name="listorders[]" value="{$vo.listorder}" class="input-listorder" />
                </td>
                <td><input type="checkbox" name="checkbox_id" value="{$vo.id}"></td>
                <td>{$vo.id}</td>
                <td><notempty name="vo.url"><a href="/category/{$vo.url}.html" target="_blank"><else/><a href="/category/{$vo.id}.html" target="_blank"></notempty><span style="padding-left:<?php echo ($vo["sort"]*20); ?>px">{$vo.html}{$vo.name}</span></a></td>
                <td>/<notempty name="vo.url">{$vo.url}<else/>{$vo.id}</notempty>.html</td>
                <td>{$vo.templatelist}</td>
                <td>{$vo.template}</td>
                <td>
                  <notempty name="vo.url"><a href="/category/{$vo.url}.html" target="_blank" class="btn btn-default btn-xs"><else/><a href="/category/{$vo.id}.html" target="_blank" class="btn btn-default btn-xs"></notempty> <i class="icon-eye-open"></i></a>
                  <a class="btn btn-default btn-xs" href="__URL__/edit?id={$vo.id}"><i class="icon-edit"></i></a>
                      <a class="btn btn-danger btn-xs" href="javascript:checkDialog('__URL__/delete?id={$vo.id}','确定选择删除？')"><i class="icon-trash"></i></a>
                  <a class="btn btn-info btn-xs" href="__URL__/add?parentid={$vo.id}"><i class="icon-plus"></i></a>
                </td>
                <td> </td>
              </tr>
        </volist>  
            </tbody>
            <tfoot>
              <tr class="info">
               <include file="opreat"/>
              </tr>
            </tfoot> 
          </table>
      </div>
       
     
</div>

<include file="Admin@Public/script_list" />
<include file="Admin@Public/footer" /> 
